import request from '@neu/biz-core/utils/request'
const baseUrl = 'dcam/api/w/workflow/arrival'
export const importExcelUrl = baseUrl + '/import'
export const importAssetDetailUrl = baseUrl + '/assetDetailImport'

export const create = (data) => {
  return request({
    url: baseUrl,
    data,
    method: 'post'
  })
}

export const detail = (workOrderNum, taskId) => {
  return request({
    url: baseUrl + '/' + workOrderNum + '/' + taskId,
    method: 'get'
  })
}

